package com.zhao.dota.struct;

import lombok.Data;

import java.util.List;

@Data
public class WsMessage<R> {

    private String action;

    private String sessionId;

    private List<Param<?>> params;

    private R data;

    @Data
    public static class Param<T> {

        String key;

        T value;

    }

}
